//! @Author: DengLibin 榆霖
//! @Date:  2022-07-11 11:49:11
//! @Description: 连接池

use log::info;
use mysql_async::Pool;


pub fn get_conn_pool() -> Pool{
    let database_url = "mysql://denglibin:denglibin@192.168.56.104:3307/doc_file_sys";
    info!("获取MySQL连接池（异步dao）");
    mysql_async::Pool::new(database_url)
}